package model

import org.itheima.kotlin.game.core.Painter

class Grass(override var x: Int, override var y: Int) :IView {
    override val width: Int=GameConfig.SMALL_BLOCK_WIDTH
    override val height: Int=GameConfig.SMALL_BLOCK_WIDTH
    override fun draw() {
        Painter.drawImage("img/grass_small.gif",x,y)
    }
}